cmake_minimum_required(VERSION 3.5.1)
project(LinQueue)

set(QUEUE_SRC linqueue.c)
include_directories(${PUBLIC_DEMO})
add_library(LLinQueue STATIC ${QUEUE_SRC})
set_target_properties(LLinQueue PROPERTIES OUTPUT_NAME llinqueue)

add_library(llinqueue SHARED ${QUEUE_SRC})

if(LINUX)
	install(TARGETS LLinQueue ARCHIVE DESTINATION ${INSTALL_DIR}/lib/liblds)
	install(TARGETS llinqueue LIBRARY DESTINATION ${INSTALL_DIR}/lib/${CMAKE_LIBRARY_ARCHITECTURE})
	install(FILES ${INCLUDE_DIR}/Queue/linqueue.h DESTINATION ${INSTALL_DIR}/include/liblds)
endif()
